package com.atguigu.day03.homework;

public class HomeWork7 {
    public static void main(String[] args) {
        int a = 8, b = 3;
        System.out.println(a >>> b);//a的2进制:0000 1000,右移3之后的2进制0000 0001,故结果为1
        System.out.println(a >>> b | 2);//a>>>b结果为0000 0001,2的2进制为0000 0010,故a>>>b | 2的2进制表现为0000 0011,故输出结果为3
    }
}
